package com.dinzeer.pseudoedge_break_dawn;

import com.dinzeer.pseudoedge_break_dawn.register.PbdComboState;
import com.dinzeer.pseudoedge_break_dawn.register.PbdCreativeTab;
import com.dinzeer.pseudoedge_break_dawn.register.PbdEntiteRegristrys;
import com.dinzeer.pseudoedge_break_dawn.register.PbdSlashArtRegsitry;
import net.minecraft.resources.ResourceLocation;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;

@Mod(Pseudoedge_break_dawn.MODID)
public class Pseudoedge_break_dawn {

    public static final String MODID = "pseudoedge_break_dawn";
    public static ResourceLocation prefix(String path) {

        return new ResourceLocation(MODID, path);
    }

    public Pseudoedge_break_dawn() {
        IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();
        MinecraftForge.EVENT_BUS.register(this);
        PbdComboState.COMBO_STATES.register(modEventBus);
        PbdSlashArtRegsitry.SLASH_ARTS.register(modEventBus);
        PbdEntiteRegristrys.ENTITIES.register(modEventBus);
        PbdCreativeTab.REGISTRY.register(modEventBus);
    }
}
